import request from '@/utils/request.js';
export async function downloadFile(path) {
    let temppath = {
        id: path.id,
        type: path.type
    }
    return request('/task/asd1?id='+temppath.id+'&type='+temppath.type, {
        method: 'GET',
        responseType: 'blob',
        // data: temppath
    })
}

export async function reqEchartList(params) {
    return request('/report/' + params.current + '/' + params.limit, {
        method: 'GET'
    })
}